﻿using MediatR;
using MES.Server.API.Dto.ProcessProceduresDTO;
using ReturnValue;

namespace MES.Server.API.Application.Command.Process_Procedures
{
    public class GetProcessManagementCommand:IRequest<ApiPaging<ProcessManagementDTO>>
    {

        /// <summary>
        /// 工序编号
        /// </summary>
        public string? ProcessCode { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string? ProcessName { get; set; }
        /// <summary>
        /// 工序分类
        /// </summary>
        public long? CategoryId { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public long? PersonId { get; set; }
        /// <summary>
        /// 所属部门编号
        /// </summary>
        public long? DepartmentId { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool? IsActive { get; set; }
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 每页条数
        /// </summary>
        public int PageSize { get; set; } = 10;
    }
}
